package com.medical.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.system.model.SysMenu;
import com.medical.system.vo.AssginMenuVo;
import com.medical.system.vo.RouterVo;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> findNodes();

    void removeMenuById(Long id);

    List<SysMenu> findSysMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assginMenuVo);

    List<RouterVo> findUserMenuList(Long id);

    List<String> findUserPermsList(Long id);
}
